// minix.js
export default {
    data () {
        return {
            
        }
    },
    mounted() {
        console.log('minixMounted');
    },
    methods: {
        testPhone(phoneNum){
            let vm = this
            if(!(/^1[3456789]\d{9}$/.test(phoneNum))){
                vm.$message('手机号有误，请重填')
                return false
            }
        },
        isAndroid(){
            var u = navigator.userAgent;
            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
            if(isAndroid){
                return true
            }
            return false
        }
    }
}